﻿using CanvasControl.Model;
using CanvasControl.View;
using GraphDrawing.Graph.Model;

namespace GraphDrawing.Graph.Behaviors
{
    public class ModelStateContext
    {
        public GraphModel Graph { get; private set; }
        public CanvasModel CanvasModel { get; private set; }
        public ICanvasView Canvas { get; private set; }
        public IGraphObjectViewContainer ViewContainer { get; private set; }

        public ModelStateContext(GraphModel graph, CanvasModel canvasModel, ICanvasView canvas, IGraphObjectViewContainer container)
        {
            Graph = graph;
            CanvasModel = canvasModel;
            Canvas = canvas;
            ViewContainer = container;
        }
    }
}